package com.lhy.admin;

public class Constants {
    public static final int USER_STATUS_LOCKED = 0; // 用户锁定状态
    public static final String PERMISSIONS = "permissions";
    public static final String PERMISSIONS_CODE = "permissionCodes";
    public static final String DEFAULT_PERMISSION_GROUP = "default_permission_group";

    public static String SESSION_USER_KEY = "USER"; // Session中保存用户登陆信息的key
    public static String SESSION_CURRENT_ROLE_KEY = "role"; // Session中保存用户当前角色

    public static final long ADMIN_ROLE_ID = -1L;
    public static final String ADMIN_ROLE = "系统管理员";

    /**
     * 游客角色
     */
    public static final String ANONYMOUS_ROLE = "游客";
    public static final long ANONYMOUS_ROLE_ID = 86L;
}